/*********************************************************************************************************\
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   | Captain Latanica's Room / The Engine Room Portal.                                            |
   | By: wackyracer.
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\*********************************************************************************************************/

void portal(Player @player, Portal @portal) {
if (player.getChannel().getMap(230040420).getPlayers().getPlayersCount() < 8) {
player.changeMap(541010100, "out00");
}
else {
player.showMessage("The engine room has reached maximum capacity. Come back later.");
}
}